// Goblin.hh
#ifndef GOBLIN_HH
#define GOBLIN_HH

#include "Character.hh"
#include <random>

class Goblin : public Character {
private:
    float critProbability;  // float critProbability;  // 暴击概率（0-1）
    float critMultiplier;   // Critical hit ratio

public:
    Goblin();
    ~Goblin() override;
    Goblin(const Goblin& other); // Copy constructor
    Goblin& operator=(const Goblin& other); // Copy assignment operator
    bool attack(ICharacter& target) override;
};

#endif // GOBLIN_HH